package com.zhangye.test.service;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.zhangye.test.mapper.PayListMapper;
import com.zhangye.test.model.PayList;

@Service
public class PayListService {
	
	@Autowired
	private PayListMapper payListMapper;
	
	/**
	 * 获取充值列表
	 */
	public List<PayList> selectByWhere(String where){
		
		List<PayList> list = payListMapper.selectByWhere(where);
		return list;
	}
	public List<PayList> selectAll(){
		List<PayList> list = payListMapper.selectAll();
		return list;
	}
}
